﻿/*----------------------------------------------------------------
    // Copyright (C) 2009 江苏华招网
    // 版权所有。 
    // 作者：吕海乐 
    //
    // 文件名：DistributionRelationAdd.cs
    // 文件功能描述：配送关系管理：新增配送关系
    // 创建标识：吕海乐2009-03-31
    //
    // 修改标识：
    // 修改描述：
    //
    // 修改标识：
    // 修改描述：页面作废 2009-6-4 李刚
    //
    // 审核人：
// 审核时间：
// 审核说明：
 //----------------------------------------------------------------*/
using System;
using System.Collections;
using System.Configuration;
using System.Data;

using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using System.Collections.Generic;
using HZ.DrugTrade.IBLL;
using HZ.DrugTrade.BLLFactory;
using HZ.DrugTrade.Model;
using HZ.DrugTrade.Model.Enum;

namespace HZ.DrugTrade.Web.Admin.BidProdManage
{
    public partial class DistributionRelationAdd : BasePage
    {
        public DistributionRelationAdd()
        {
            this.ModuleNo = Module.配送关系管理.ToString();
        }

        IBLL_ProcurementBasic ipb = Factory.BLL_ProcurementBasic();
        IBLL_Hospital ih = Factory.BLL_Hospital();
        IBLL_Company ic = Factory.BLL_Company();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //绑定采购目录
                //IList<HZ.DrugTrade.Model.View.ProcureCatalog> catalogList = ipb.GetAllProcureCatalog();
                //ddlProcureCatalog.DataSource = catalogList;
                //ddlProcureCatalog.DataTextField = "ProcureCatalogID";
                //ddlProcureCatalog.DataValueField = "ProcureCatalogID";

                //绑定医疗机构
                //IList<Hospital> hospitalList = ih.GetAllHospital();
                //ddlHospital.DataSource = hospitalList;
                //ddlHospital.DataTextField = "HospitalName";
                //ddlHospital.DataValueField = "HospitalID";

                //绑定企业
                //IList<Company> comanyList = ic.GetAllCompany();
                //ddlCompany.DataSource = comanyList;
                //ddlCompany.DataTextField = "CompanyName";
                //ddlCompany.DataValueField = "CompanyID";
            }
        }
    }
}
